package org.biubiu0002.baiblog.common.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: biubiu0002
 * @Date: 2022/8/2 18:37
 **/

public class FeedConstants {

    @Getter
    @AllArgsConstructor
    public enum Type {
        ALL(1),
        ;
        private int value;
    }

    public static Integer pageSize = 15;
    public static String pageSizeStr = "15";

    /**
     * feed容量最大值
     */
    public static Long MAX_SIZE =3000L;

    /**
     * 加载最近feed的时间范围：3个月
     */
    public static Long LATEST_FEED_INTERVAL = System.currentTimeMillis() / 1000 - (60*60*24*31*3);

}
